/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package webservices;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 *
 * Florent et Estelle
 */
@WebService()
public class PaiementWS {

	/**
 	* Return that the paiment is completed
 	*/
	@WebMethod(operationName = "operation")
	public String operation(@WebParam(name = "idClient1")
	int idClient1, @WebParam(name = "idClient2")
	int idClient2, @WebParam(name = "idEnchere")
	int idEnchere) {

    	return  "Enchere n°"+Integer.toString(idEnchere)+": paiement validé";
	}

}
